#define DEBUG
#include <iostream>
#include "log.h"

int main() {
	int age = 9;
	const char * name = "tbag";
	std::string hobby = "blabla...";

	LOG_DEBUG("age = %d name = %s hobby = %s", age, name, hobby.c_str());


	LOG_DEBUG("test debug end");

	return 0;
}
/**
 * Date|2017|9|10|15:11:15.627 /Users/codeliu/Desktop/C++Code/工具/lplog/test.cpp|main|line:10|age = 9 name = tbag hobby = blabla...
 * Date|2017|9|10|15:11:15.628 /Users/codeliu/Desktop/C++Code/工具/lplog/test.cpp|main|line:13|test debug end
 * */